package com.zhou.simulation.beans.enums;

public enum StatusCodeEnum {
    SUCCESS(200),NOT_FOUND(404),ERROR(500);
    private  Integer code;

    StatusCodeEnum(Integer i) {
        this.code = i;
    }
    public int getCode() {
        return code;
    }
    public void setCode(Integer code) {
        this.code = code;
    }

    @Override
    public String toString() {
        return "StatusCodeEnum{" +
                "code=" + code +
                '}';
    }
}
